package com.voicechat.firstmet.bean;

import java.util.List;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: VoiceChatAllBean
 * @Description: 语聊页面 全部list
 * @Author: ljp
 * @CreateDate: 2018/10/19 16:26
 * @Version: 1.0
 */
public class VoiceChatAllBean {

    /**
     * code : 200
     * msg : 成功
     * page : {"pageNo":1,"pageSize":30,"count":5,"list":[{"id":"d3611093491141cfb8e1b43692e5d3b6","isNewRecord":false,"number":"1111","mobile":"13754326412","nickName":"ss是😍但是","avatarUrl":"head/64121538037382.jpg","gender":1,"birthday":"1998-10-02","height":"0","voiceInfo":"0","status":1,"autograph":"0","ascription":"0","constellation":"天秤座","gold":100,"type":2,"vType":"0"},{"id":"21249779820a4fb1a713b080c90e88af","isNewRecord":false,"mobile":"2222","nickName":"2222","gender":2,"birthday":"1980年10月21","height":"0","voiceInfo":"0","status":1,"autograph":"0","ascription":"0","constellation":"天秤座","gold":0,"type":2,"vType":"0"},{"id":"a13cd7b148704280a7e2556cf7f02142","isNewRecord":false,"number":"666666","mobile":"17630849402","nickName":"小明","avatarUrl":"asd","gender":1,"birthday":"1995年10月21","height":"80;170","voiceInfo":"哈哈哈","status":1,"autograph":"今天下雨了","ascription":"杭州","constellation":"天秤座","gold":100,"type":2,"vType":"0"},{"id":"4cffd1c897fc4f0fbf7e344b339f82bc","isNewRecord":false,"number":"888888","mobile":"123456","nickName":"我叫123","avatarUrl":"123.jpg","gender":1,"birthday":"1995年10月21","height":"80;170","voiceInfo":"哈哈哈","status":1,"autograph":"比心","ascription":"杭州","constellation":"天秤座","gold":0,"type":2,"vType":"0"},{"id":"asdasdasdas","isNewRecord":false,"number":"5752856","mobile":"5752856","nickName":"asdasdasdas","avatarUrl":"aaa","gender":1,"birthday":"1995年10月2","height":"0","voiceInfo":"0","status":3,"autograph":"0","ascription":"0","constellation":"天秤座","gold":10,"type":2,"vType":"0"}],"maxResults":30,"firstResult":0}
     */

    private int code;
    private String msg;
    private PageBean page;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public static class PageBean {
        /**
         * pageNo : 1
         * pageSize : 30
         * count : 5
         * list : [{"id":"d3611093491141cfb8e1b43692e5d3b6","isNewRecord":false,"number":"1111","mobile":"13754326412","nickName":"ss是😍但是","avatarUrl":"head/64121538037382.jpg","gender":1,"birthday":"1998-10-02","height":"0","voiceInfo":"0","status":1,"autograph":"0","ascription":"0","constellation":"天秤座","gold":100,"type":2,"vType":"0"},{"id":"21249779820a4fb1a713b080c90e88af","isNewRecord":false,"mobile":"2222","nickName":"2222","gender":2,"birthday":"1980年10月21","height":"0","voiceInfo":"0","status":1,"autograph":"0","ascription":"0","constellation":"天秤座","gold":0,"type":2,"vType":"0"},{"id":"a13cd7b148704280a7e2556cf7f02142","isNewRecord":false,"number":"666666","mobile":"17630849402","nickName":"小明","avatarUrl":"asd","gender":1,"birthday":"1995年10月21","height":"80;170","voiceInfo":"哈哈哈","status":1,"autograph":"今天下雨了","ascription":"杭州","constellation":"天秤座","gold":100,"type":2,"vType":"0"},{"id":"4cffd1c897fc4f0fbf7e344b339f82bc","isNewRecord":false,"number":"888888","mobile":"123456","nickName":"我叫123","avatarUrl":"123.jpg","gender":1,"birthday":"1995年10月21","height":"80;170","voiceInfo":"哈哈哈","status":1,"autograph":"比心","ascription":"杭州","constellation":"天秤座","gold":0,"type":2,"vType":"0"},{"id":"asdasdasdas","isNewRecord":false,"number":"5752856","mobile":"5752856","nickName":"asdasdasdas","avatarUrl":"aaa","gender":1,"birthday":"1995年10月2","height":"0","voiceInfo":"0","status":3,"autograph":"0","ascription":"0","constellation":"天秤座","gold":10,"type":2,"vType":"0"}]
         * maxResults : 30
         * firstResult : 0
         */

        private int pageNo;
        private int pageSize;
        private int count;
        private int maxResults;
        private int firstResult;
        private List<ListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getMaxResults() {
            return maxResults;
        }

        public void setMaxResults(int maxResults) {
            this.maxResults = maxResults;
        }

        public int getFirstResult() {
            return firstResult;
        }

        public void setFirstResult(int firstResult) {
            this.firstResult = firstResult;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : d3611093491141cfb8e1b43692e5d3b6
             * isNewRecord : false
             * number : 1111
             * mobile : 13754326412
             * nickName : ss是😍但是
             * avatarUrl : head/64121538037382.jpg
             * gender : 1
             * birthday : 1998-10-02
             * height : 0
             * voiceInfo : 0
             * status : 1
             * autograph : 0
             * ascription : 0
             * constellation : 天秤座
             * gold : 100
             * type : 2
             * vType : 0
             */

            private String userId;
            private boolean isNewRecord;
           // private String number;//隐隐id
           // private String mobile;
            private String nickName;//昵称
            private String avatarUrl;//头像地址
            private int gender;//性别 1男 2女
            private String birthday;//生日
            private String height;//身高，体重
            private String voiceInfo;//语音文件地址
            private int status;//在线状态，1在线 3离线
            private int mark; // 0.下线  1.上线
            private String autograph;//个性签名
            private String ascription;//地区
           // private String constellation;//星座
            private int gold;//金币（价格）
           // private int type;// 类型 1普通用户 2主播
            private int vType; // 会员等级 0非会员 1月会员 2年会员
            private String charm;
            private int duration;//语音时长

            public int getMark() {
                return mark;
            }

            public void setMark(int mark) {
                this.mark = mark;
            }

            public int getDuration() {
                return duration;
            }

            public String getCharm() {
                return charm;
            }

            public void setCharm(String charm) {
                this.charm = charm;
            }

            public String getId() {
                return userId;
            }

            public void setId(String id) {
                this.userId = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

          /*  public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }*/

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getAvatarUrl() {
                return avatarUrl;
            }

            public void setAvatarUrl(String avatarUrl) {
                this.avatarUrl = avatarUrl;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public String getHeight() {
                return height;
            }

            public void setHeight(String height) {
                this.height = height;
            }

            public String getVoiceInfo() {
                return voiceInfo;
            }

            public void setVoiceInfo(String voiceInfo) {
                this.voiceInfo = voiceInfo;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getAutograph() {
                return autograph;
            }

            public void setAutograph(String autograph) {
                this.autograph = autograph;
            }

            public String getAscription() {
                return ascription;
            }

            public void setAscription(String ascription) {
                this.ascription = ascription;
            }

          /*  public String getConstellation() {
                return constellation;
            }

            public void setConstellation(String constellation) {
                this.constellation = constellation;
            }
*/
            public int getGold() {
                return gold/10;
            }

            public void setGold(int gold) {
                this.gold = gold;
            }

         /*   public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }*/

            public int getVType() {
                return vType;
            }

            public void setVType(int vType) {
                this.vType = vType;
            }


            @Override
            public String toString() {
                return "ListBean{" +
                        "usetId='" + userId + '\'' +
                        ", isNewRecord=" + isNewRecord +
                        ", nickName='" + nickName + '\'' +
                        ", avatarUrl='" + avatarUrl + '\'' +
                        ", gender=" + gender +
                        ", birthday='" + birthday + '\'' +
                        ", height='" + height + '\'' +
                        ", voiceInfo='" + voiceInfo + '\'' +
                        ", status=" + status +
                        ", autograph='" + autograph + '\'' +
                        ", ascription='" + ascription + '\'' +
                        ", gold=" + gold +
                        ", vType=" + vType +
                        ", charm='" + charm +
                        ", duration='" + duration +
                        '}';
            }
        }
    }
}
